package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 发邮件对象 sys_email
 * 
 * @author ruoyi
 * @date 2022-09-24
 */
public class SysEmail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long elId;

    /** 主题 */
    @Excel(name = "主题")
    private String elSubject;

    /** 内容 */
    @Excel(name = "内容")
    private String elMessage;

    /** 发送人 */
    @Excel(name = "发送人")
    private String elSend;

    /** 接收人 */
    @Excel(name = "接收人")
    private String elRecive;

    /** 抄送人 */
    @Excel(name = "抄送人")
    private String elCopy;

    /** 定时发送 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "定时发送", width = 30, dateFormat = "yyyy-MM-dd")
    private Date elSetTime;

    /** 状态 */
    @Excel(name = "状态")
    private String elState;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String elSendTime;

    /** 提交结果 */
    @Excel(name = "提交结果")
    private String elResult;

    public void setElId(Long elId) 
    {
        this.elId = elId;
    }

    public Long getElId() 
    {
        return elId;
    }
    public void setElSubject(String elSubject) 
    {
        this.elSubject = elSubject;
    }

    public String getElSubject() 
    {
        return elSubject;
    }
    public void setElMessage(String elMessage) 
    {
        this.elMessage = elMessage;
    }

    public String getElMessage() 
    {
        return elMessage;
    }
    public void setElSend(String elSend) 
    {
        this.elSend = elSend;
    }

    public String getElSend() 
    {
        return elSend;
    }
    public void setElRecive(String elRecive) 
    {
        this.elRecive = elRecive;
    }

    public String getElRecive() 
    {
        return elRecive;
    }
    public void setElCopy(String elCopy) 
    {
        this.elCopy = elCopy;
    }

    public String getElCopy() 
    {
        return elCopy;
    }
    public void setElSetTime(Date elSetTime) 
    {
        this.elSetTime = elSetTime;
    }

    public Date getElSetTime() 
    {
        return elSetTime;
    }
    public void setElState(String elState) 
    {
        this.elState = elState;
    }

    public String getElState() 
    {
        return elState;
    }
    public void setElSendTime(String elSendTime) 
    {
        this.elSendTime = elSendTime;
    }

    public String getElSendTime() 
    {
        return elSendTime;
    }
    public void setElResult(String elResult) 
    {
        this.elResult = elResult;
    }

    public String getElResult() 
    {
        return elResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("elId", getElId())
            .append("elSubject", getElSubject())
            .append("elMessage", getElMessage())
            .append("elSend", getElSend())
            .append("elRecive", getElRecive())
            .append("elCopy", getElCopy())
            .append("elSetTime", getElSetTime())
            .append("elState", getElState())
            .append("elSendTime", getElSendTime())
            .append("elResult", getElResult())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
